package com.tao.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @ClassName OrderFallbackService
 * @Author HETAO
 * @Date 2020/5/10 21:23
 */
@Component
public class OrderFallbackService implements OrderHystrixService {
    @Override
    public String paymentInfoOK(Integer id) {
        return "调的服务已经宕机了---》》┭┮﹏┭┮";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "调的服务已经宕机了---》》┭┮﹏┭┮";
    }
}
